package cn.stylefeng.guns.modular.launchpad.controller;

import cn.stylefeng.guns.modular.base.util.Result;
import cn.stylefeng.guns.modular.launchpad.entity.Receive;
import cn.stylefeng.guns.modular.launchpad.service.ReceiveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/web/receive")
public class ReceiveController {

    @Autowired
    private ReceiveService receiveService;

    // 查询质押流水列表
    @GetMapping("/getList")
    public Result getList(Receive receive) {
        return Result.success(receiveService.getList(receive));
    }



}
